import { http } from '@/api/http'
import { httpErrorHandle } from '@/utils'
import { RequestHttpEnum, ModuleTypeEnum } from '@/enums/httpEnum'

export const getPageList = async (params: object) => {
  try {
    const res = await http(RequestHttpEnum.GET)(`/modular/admin/v1/page/pageList`, params)
    return res
  } catch (err) {
    httpErrorHandle()
  }
}

